/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.tesam.gedeon.entity;

import java.sql.Timestamp;

/**
 *
 * @author Sistema
 */
public class Region extends Entity {
    
    private String code ;
    private String description;
    private Network network;
    
    public Region(){
    }
    
    public Region(int id,
            int createdBy, int modifiedById, Timestamp dateCreated, Timestamp dateModified, Timestamp viewedTime, int status, 
            int deleted, int presence, int ownerId , String code , String description , Network network){
    
        super(id, createdBy, modifiedById, dateCreated, dateModified, viewedTime, status, deleted, presence, ownerId );
        
        this.network = network ;
        this.description = description ;
        this.code = code ;
    }
    
    public Network getNetwork(){
        return this.network;
    }
    
    public void setNetwork(Network network){
        this.network = network;
    }
    
    public String getCode(){
        return this.code ;
    }
    
    public void setCode(String code){
        this.code = code ;
    }
    
    public String getDescription(){
        return this.description ;
    }
    
    public void setDescription(String description){
        this.description = description ;
    }
}
